''' 统计信息 均值 方差 '''
import cv2 as cv
import numpy as np

img = cv.imread('../resources/miku.jpg')

means, dev = cv.meanStdDev(img) # 计算均值和方差
# 如果方差很低，可以判断为无效图片（比如白板）
print(means)
print(dev)

print(np.min(img), ", ", np.max(img))